package com.czl.elm.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.czl.elm.domain.Users;
import com.czl.elm.util.ActionResult;
import org.springframework.web.multipart.MultipartFile;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zuoleiChen
 * @since 2021-05-15
 */
public interface IUsersService extends IService<Users> {


    ActionResult getUsersProperty();

    ActionResult setUsersPassword(String checkCode,String newpass);

    ActionResult setUsersUserName(String userName);

    ActionResult setUsersInfo(String info);

    ActionResult setUsersBirthday(String birthday);

    ActionResult setUsersProfile(MultipartFile profile);

    ActionResult addUsersAddress(Map<String, Object> msg);

    ActionResult getUsersAddress();

    ActionResult delUsersAddress(String addressId);

    ActionResult setDefaultUsersAddress(String addressId);

    ActionResult setUsersAddress(String addressId,Map<String,Object> msg);

    ActionResult setShopCart(String shopId, Map<String, Object> msg);

    ActionResult getShopCart(String shopId);
}
